package org.zfes.snowier.cloud.zbss.metting.biz.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class MettingsMsg extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public MettingsMsg() {}
	public MettingsMsg(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="会议不能为空")
	  private java.lang.Long metId;
	  private java.lang.Long sinupId;
	  private java.lang.Long userId;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="留言会员长度不能大于60")
	  private java.lang.String userName;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="留言用户邮箱长度不能大于50")
	  private java.lang.String email;
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="留言用户手机号长度不能大于30")
	  private java.lang.String phone;
	@javax.validation.constraints.NotBlank(message="留言内容不能为空")
	@javax.validation.constraints.NotNull(message="留言内容不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=800,message="留言内容长度不能大于800")
	  private java.lang.String content;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@javax.validation.constraints.NotNull(message="是否匿名不能为空")
	  private java.lang.Byte isAnonymous;
	  private java.lang.Byte status;
 
	
	//<-------------------------------------------->
	public MettingsMsg setMetId(java.lang.Long metId){
	 this.metId=metId;
	 return this;
	}
	public java.lang.Long getMetId(){
		return this.metId;
	}
	public MettingsMsg setSinupId(java.lang.Long sinupId){
	 this.sinupId=sinupId;
	 return this;
	}
	public java.lang.Long getSinupId(){
		return this.sinupId;
	}
	public MettingsMsg setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public MettingsMsg setUserName(java.lang.String userName){
		this.userName=userName==null?null:userName.trim();
	 return this;
	}
	public java.lang.String getUserName(){
		return this.userName;
	}
	public MettingsMsg setEmail(java.lang.String email){
		this.email=email==null?null:email.trim();
	 return this;
	}
	public java.lang.String getEmail(){
		return this.email;
	}
	public MettingsMsg setPhone(java.lang.String phone){
		this.phone=phone==null?null:phone.trim();
	 return this;
	}
	public java.lang.String getPhone(){
		return this.phone;
	}
	public MettingsMsg setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public MettingsMsg setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public MettingsMsg setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public MettingsMsg setIsAnonymous(java.lang.Byte isAnonymous){
	 this.isAnonymous=isAnonymous;
	 return this;
	}
	public java.lang.Byte getIsAnonymous(){
		return this.isAnonymous;
	}
	public MettingsMsg setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}

}
